.class Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity$1;
.super Ljava/lang/Object;
.source "NotificationDetailsActivity.java"

# interfaces
.implements Lcom/nostra13/universalimageloader/core/listener/ImageLoadingListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity;


# direct methods
.method constructor <init>(Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity;)V
    .locals 0

    .line 77
    iput-object p1, p0, Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity$1;->this$0:Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method private loadingFailedProcedure()V
    .locals 2

    .line 131
    iget-object v0, p0, Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity$1;->this$0:Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity;

    invoke-static {v0}, Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity;->access$100(Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity;)Lcom/google/android/material/appbar/AppBarLayout;

    move-result-object v0

    if-nez v0, :cond_0

    return-void

    .line 134
    :cond_0
    iget-object v0, p0, Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity$1;->this$0:Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity;

    invoke-static {v0}, Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity;->access$100(Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity;)Lcom/google/android/material/appbar/AppBarLayout;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/google/android/material/appbar/AppBarLayout;->setExpanded(Z)V

    return-void
.end method


# virtual methods
.method public onLoadingCancelled(Ljava/lang/String;Landroid/view/View;)V
    .locals 2

    .line 124
    sget-object p2, Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity;->TAG:Ljava/lang/String;

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "Failed to download the remote image ("

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string p1, ")."

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-static {p2, p1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 125
    invoke-direct {p0}, Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity$1;->loadingFailedProcedure()V

    return-void
.end method

.method public onLoadingComplete(Ljava/lang/String;Landroid/view/View;Landroid/graphics/Bitmap;)V
    .locals 0

    .line 87
    iget-object p1, p0, Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity$1;->this$0:Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity;

    invoke-static {p1}, Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity;->access$000(Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity;)Landroid/widget/ImageView;

    move-result-object p1

    if-eqz p1, :cond_1

    iget-object p1, p0, Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity$1;->this$0:Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity;

    invoke-static {p1}, Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity;->access$100(Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity;)Lcom/google/android/material/appbar/AppBarLayout;

    move-result-object p1

    if-eqz p1, :cond_1

    iget-object p1, p0, Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity$1;->this$0:Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity;

    invoke-static {p1}, Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity;->access$200(Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity;)Lcom/google/android/material/appbar/CollapsingToolbarLayout;

    move-result-object p1

    if-nez p1, :cond_0

    goto :goto_0

    .line 92
    :cond_0
    iget-object p1, p0, Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity$1;->this$0:Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity;

    invoke-static {p1}, Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity;->access$000(Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity;)Landroid/widget/ImageView;

    move-result-object p1

    invoke-virtual {p1, p3}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    .line 93
    iget-object p1, p0, Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity$1;->this$0:Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity;

    invoke-static {p1}, Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity;->access$100(Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity;)Lcom/google/android/material/appbar/AppBarLayout;

    move-result-object p1

    const/4 p2, 0x1

    invoke-virtual {p1, p2}, Lcom/google/android/material/appbar/AppBarLayout;->setExpanded(Z)V

    .line 95
    invoke-static {p3}, Landroidx/palette/graphics/Palette;->from(Landroid/graphics/Bitmap;)Landroidx/palette/graphics/Palette$Builder;

    move-result-object p1

    new-instance p2, Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity$1$1;

    invoke-direct {p2, p0}, Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity$1$1;-><init>(Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity$1;)V

    invoke-virtual {p1, p2}, Landroidx/palette/graphics/Palette$Builder;->generate(Landroidx/palette/graphics/Palette$PaletteAsyncListener;)Landroid/os/AsyncTask;

    :cond_1
    :goto_0
    return-void
.end method

.method public onLoadingFailed(Ljava/lang/String;Landroid/view/View;Lcom/nostra13/universalimageloader/core/assist/FailReason;)V
    .locals 2

    .line 118
    sget-object p2, Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity;->TAG:Ljava/lang/String;

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "Failed to download the remote image ("

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string p1, "). Reason: "

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p3}, Lcom/nostra13/universalimageloader/core/assist/FailReason;->getCause()Ljava/lang/Throwable;

    move-result-object p1

    invoke-virtual {p1}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-static {p2, p1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 119
    invoke-direct {p0}, Llt/noframe/gpsfarmguide/views/NotificationDetailsActivity$1;->loadingFailedProcedure()V

    return-void
.end method

.method public onLoadingStarted(Ljava/lang/String;Landroid/view/View;)V
    .locals 0

    return-void
.end method
